package com.yxy.ms.manager.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yxy.ms.manager.dao.ClearDataTempMapper;
import com.yxy.ms.manager.entity.TransactionStatistic;
import com.yxy.ms.manager.service.ClearDataTempService;

@Service
public class ClearDataTempServiceImpl implements ClearDataTempService {

    @Autowired
    ClearDataTempMapper clearDataTempMapper;

    @Override
    public List<Integer> loadp01IssureId() {
        return clearDataTempMapper.loadp01IssureId();
    }

    @Override
    public List<TransactionStatistic> getAllTransactionProcessResultStatistics() {
        return clearDataTempMapper.getAllTransactionProcessResultStatistics();
    }

    @Override
    public List<TransactionStatistic> getTransactionProcessResultStatisticsByTransTypeCode(int[] transTypeCodes) {
        return clearDataTempMapper.getTransactionProcessResultStatisticsByTransTypeCode(transTypeCodes);
    }

    @Override
    public List<TransactionStatistic> getEtcGantryTransactionProcessResultStatistics(int[] transTypeCodes) {
        return clearDataTempMapper.getEtcGantryTransactionProcessResultStatistics(transTypeCodes);
    }

    @Override
    public List<TransactionStatistic> getExitTransactionProcessResultStatistics(int[] transTypeCodes) {
        return clearDataTempMapper.getExitTransactionProcessResultStatistics(transTypeCodes);
    }

}
